// PanoramicDoc.cpp : implementation of the CPanoramicDoc class
//

#include "stdafx.h"
#include "Panoramic.h"

#include "PanoramicDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CPanoramicDoc

IMPLEMENT_DYNCREATE(CPanoramicDoc, CDocument)

BEGIN_MESSAGE_MAP(CPanoramicDoc, CDocument)
	//{{AFX_MSG_MAP(CPanoramicDoc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CPanoramicDoc construction/destruction

CPanoramicDoc::CPanoramicDoc()
{
	// TODO: add one-time construction code here

}

CPanoramicDoc::~CPanoramicDoc()
{
}





/////////////////////////////////////////////////////////////////////////////
// CPanoramicDoc serialization

void CPanoramicDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CPanoramicDoc diagnostics

#ifdef _DEBUG
void CPanoramicDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CPanoramicDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CPanoramicDoc commands

BOOL CPanoramicDoc::OnOpenDocument(LPCTSTR lpszPathName) 
{
	if (!CDocument::OnOpenDocument(lpszPathName))
		return FALSE;
	this->pname.push_back(lpszPathName);
	// TODO: Add your specialized creation code here
	return TRUE;
}

BOOL CPanoramicDoc::OnSaveDocument(LPCTSTR lpszPathName) 
{
	// TODO: Add your specialized code here and/or call the base class
	return TRUE;
	//return CDocument::OnSaveDocument(lpszPathName);
}
